<template>
  <div class="commonpage">
    <PageHeader :page-title="props.pageTitle"></PageHeader>
    <slot />
  </div>
</template>

<script setup>
import { PageHeader } from "../index";

const props = defineProps({
  pageTitle: {
    type: String,
    default: "默认标题",
  },
});
</script>

<style scoped lang="scss">
.commonpage {
  width: 100%;
  height: 100%;
  background: url('@/assets/images/businesstripbg.png') no-repeat;
  // background-size: 100% 100%;
}
</style>
